package com.xinchen.ssh.demo.dao.impl;

import com.xinchen.ssh.demo.core.base.BaseDao;
import com.xinchen.ssh.demo.dao.IUserDaoTest;
import com.xinchen.ssh.demo.entity.AcctUser;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Description：
 *
 * @author Xin Chen
 * @version 1.0
 * @date 2016/12/15 13:34
 * @see 2016/12/15 13:34 Created
 ****************************************/
@Repository
public class UserDaoTest extends BaseDao implements IUserDaoTest {

    public void saveA(AcctUser entity){
         this.save(entity);
    }

    @Override
    public List<AcctUser> Quary(String hql) {
        return this.getListByHQL(hql);
    }
}
